package com.westos.echufang.constants;

public class DefaultRegex {
    public static final String PHONE_REGEX="^(((13[0-9]{1})|(14[0-9]{1})|(15[0-9]{1})|(16[0-9]{1})|(18[0-9]{1})|(19[0-9]{1})|(17[0-9]{1}))+\\d{8})$";

    public static final String PASSWORD_REGEX="^[0-9a-zA-Z]{8,16}$";

    public static final String CODE_REGEX="[0-9]{8}";

    public static final String NAME_REGEX="^[\u4e00-\u9fa5.·\u36c3\u4DAE]{0,}$";

    public static final String EMAIL_REGEX="^\\w+([-+.]\\w+)*@\\w+([-.]\\w+)*\\.\\w+([-.]\\w+)*$";

    public static final String DOCTOR_REGEX="^[\u4e00-\u9fa5.·\u36c3\u4DAE]{0,}-医生$";

    public static final String PHARMACIST_REGEX="^[\u4e00-\u9fa5.·\u36c3\u4DAE]{0,}-药师$";

}
